package com.ocom.webapi.vo.accounttypepage;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class DetailsVo implements Serializable {
    private static final long serialVersionUID = 6163937456668023718L;
    @NotNull(message = "comId 不能为空")
    @JsonProperty("comId")
    private Long comId;
    @JsonProperty("deptId")
    private Long deptId = 0l;
    @JsonProperty("pCode")
    private String pCode;
    @JsonProperty("pName")
    private String pName;
    @JsonProperty("cardNo")
    private String cardNo;
    @JsonProperty("accountNo")
    private String accountNo;
    @JsonProperty("accTypeId")
    private Integer accTypeId;
    @NotNull(message = "page 不能为空")
    private Integer page;
    @NotNull(message = "size 不能为空")
    private Integer size;

    private Integer subAccount = 0;

}
